home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Essential Home & Business Collection
/
The Essential Home & Business Collection.iso
/
27
/
3
/
5
/
HP22D5.ZIP
/
EXTERN
/
IO
/
CLOSE.ASM
next >
Wrap
Assembly Source File
|
1991-04-16
|
440b
|
33 lines
DOSSEG
.MODEL LARGE
.DATA
.CODE
; ---------------------------------------------------------------------------
; close(handle);
; ---------------------------------------------------------------------------
public _close
_close proc far
push bp
mov bp,sp
mov ah,03eh
mov bx,[bp+6]
int 21h
mov ax,0
jnc end_close
mov ax,-1
end_close:
pop bp
retf
_close endp
END